class Token {
  static _tokenKey: string = 'token'
  getToken(): any {
    return localStorage.getItem(Token._tokenKey)
  }

  setToken(tokenValue: string): void {
    localStorage.setItem(Token._tokenKey, tokenValue)
  }

  removeToken(): void {
    localStorage.removeItem(Token._tokenKey)
  }
}
const classToken: Token = new Token()
export default classToken
